//
//  MainViewController.h
//  LPSNews
//
//  Created by Ruan on 14-10-10.
//  Copyright (c) 2014年 LPS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RootViewDelegate.h"
#import "MainViewControllerDelegate.h"


@interface MainViewController : UIViewController

// 代理
@property (nonatomic,assign) id<RootViewDelegate>delegate;

// 根据索引显示页面
- (void)displayControllerFromIndex:(int)fromIndex ToIndex:(int)toIndex andTitleText:(NSString *) titleText;
@property (nonatomic, assign) id <MainViewControllerDelegate>displayDeleage;

- (void)settingClick;

@end
